package com.coffee.order.api.sku.service;


import com.coffee.core.exception.BusinessException;
import com.coffee.order.api.sku.req.PayReq;
import com.coffee.order.api.sku.result.FriendOrderResult;
import com.coffee.order.api.sku.result.PayParam;

public interface CommonPayService {
    PayParam createOrderAndPay(PayReq req) throws BusinessException;

    PayParam findByOrderId(Integer merchantId, String outOrderId) throws BusinessException;

    PayParam payOrderByEnjoy(PayReq req) throws BusinessException;

    FriendOrderResult findFriendOrderResultByOrderId(Integer merchantId, String outOrderId) throws BusinessException;
}
